package com.qiyeji.real_estate.mapper;

import com.qiyeji.real_estate.entity.accountInformation;
import com.qiyeji.real_estate.entity.accountInformationKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface accountInformationMapper {
    int deleteByPrimaryKey(accountInformationKey key);

    int insert(accountInformation record);

    int insertSelective(accountInformation record);

    accountInformation selectByPrimaryKey(accountInformationKey key);

    int updateByPrimaryKeySelective(accountInformation record);

    int updateByPrimaryKey(accountInformation record);

    String loginPower(String id,String password);

    List<accountInformation> getAllAccount();


}